<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="EmployInfo">
    <div class="layui-card-body padding-left-40 layui-col-space10">

        <input name="app_id" type="hidden" value='{$app_id|default=""}' required class="layui-input ">

        <div class="layui-col-md12">
            <label class="layui-form-label">{:Lang("关卡名称")}:</label>
            <div class="layui-input-block">

                <input name="title" value='{$vo.title|default=""}' placeholder="请输入关卡名称"  required class="layui-input ">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">{:Lang("关卡描述")}:</label>
            <div class="layui-input-block" >
                <textarea name="content" placeholder="请输入关卡描述" lay-verify="" class="layui-textarea" style="height: 350px;">{$vo.content|default=""}</textarea>
                <p class="help-block"></p>
            </div>
        </div>
    </div>

    <div class="hr-line-dashed"></div>


    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>
</form>

<script>

    $(function () {
        // 异步加载富文本编辑器
        require(['ckeditor'], function () {
            setTimeout(function () {
                // 初始化富文本编辑器
                window.createEditor('[name=content]', {height: 350});
            },500)
        });

    });

</script>